package org.wmq.organizationmanagement.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.wmq.organizationmanagement.model.po.OrganizationMember;
import org.wmq.organizationmanagement.model.vo.MemberVO;

import java.util.List;

public interface OrganizationMemberService extends IService<OrganizationMember> {
    List<MemberVO> getListByOrganizationId(Long organizationId);

    List<MemberVO> getListByOrganizationIdAndMemberName(Long organizationId, String memberName);

    boolean deleteByOrganizationAndMemberId(Long organizationId, Long memberId);

    boolean deleteByOrganizationID(Long organizationId);

    boolean deleteByMemberId(Long memberId);
}
